package com.wg.dome.operation;

import com.wg.common.net.OperationRequest;
import com.wg.common.annotation.DataMember;
import com.wg.net.Operation;

/**
 * 布阵请求
 */
public class BuZhenRequest extends Operation {

    @DataMember(code = 1)
    private long playerId;

    /**
     * 英雄唯一第
     */
    @DataMember(code = 2)
    private long heroId;

    /**
     * 将要布阵位置
     */
    @DataMember(code = 3)
    private byte pos;

    public BuZhenRequest() {
    }

    public BuZhenRequest(OperationRequest request) {
        super(request);
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }

    public long getHeroId() {
        return heroId;
    }

    public void setHeroId(long heroId) {
        this.heroId = heroId;
    }

    public byte getPos() {
        return pos;
    }

    public void setPos(byte pos) {
        this.pos = pos;
    }
}

